package cn.juque.jdfsystem.entity;

import cn.juque.lucenecandy.core.annotation.Field;
import cn.juque.lucenecandy.core.annotation.Index;
import cn.juque.lucenecandy.core.enums.DataTypeEnum;
import lombok.Data;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>BlacklistInfo</li>
 * </ul>
 * @date 2023-12-19 09:18:50
 **/
@Data
@Index(value = "jdf_blacklist_info")
public class BlacklistInfo extends JdfSystemEntity {

    /**
     * 配置名称
     */
    @Field(value = "ip")
    private String ip;

    /**
     * 有效标识
     */
    @Field(value = "valid_flag", type = DataTypeEnum.INT)
    private Integer validFlag;

    /**
     * 备注
     */
    @Field(value = "remark")
    private String remark;
}
